package leetcode.wtx;

/**
 * Hello world!
 */
public final class App {
/**
 * Definition for singly-linked list.
 */
  class ListNode {
    int val;
    ListNode next;

    ListNode(int x) {
      val = x;
      next = null;
    }
  }
  /**
   * Imagine two runners running on a track at different speed. What happens when the track is actually a circle?
   */
  public class Solution {
    public boolean hasCycle(ListNode head) {
      return false;
    }
  }
  /**
   * Says hello to the world.
   * 
   * @param args
   *               The arguments of the program.
   */
  public static void main(String[] args) {
    System.out.println("Hello World!");
  }
}
